/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.repository;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shanhesoft.java.common.core.vo.PageModel;
import com.shanhesoft.java.common.persistence.repository.BaseRepository;
import com.shanhesoft.java.modules.exam.domain.VirtualTrainingDetailInstance;
import com.shanhesoft.java.modules.exam.domain.vo.VirtualTrainingDetailInstanceVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 课程实训题目实例管理Repository 课程实训题目实例管理
 * @author admin
 * @version 2020-11-17 01:04:34
 */
public interface VirtualTrainingDetailInstanceRepository extends BaseRepository<VirtualTrainingDetailInstance> {
	public IPage<VirtualTrainingDetailInstanceVo> findTrainingDetailInstanceVoPage(PageModel pm, @Param(Constants.WRAPPER) QueryWrapper wrapper);
	public VirtualTrainingDetailInstanceVo findTrainingDetailInstanceVoById(String id);
	public IPage<Map<String, Object>> findTrainingInstanceUserVoById(PageModel pm);
	public List<VirtualTrainingDetailInstance> findTimeOutTrainingDetailInstance();
}
